package com.cloud.sso.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
@TableName("sys_org")
public class SysOrg {

    @TableId(value = "id")
    private String id;

    @TableField("org_name")
    private String orgName;

    @TableField("org_code")
    private String orgCode;

    @TableField("parent_id")
    private String parentId;

    @TableField("leaf")
    private String leaf;

    @TableField("root")
    private String root;
}
